package com.gs.xbinfomytest.entity;

import com.gitee.hengboy.mybatis.enhance.common.annotation.Column;
import com.gitee.hengboy.mybatis.enhance.common.annotation.Id;
import com.gitee.hengboy.mybatis.enhance.common.annotation.Table;
import com.gitee.hengboy.mybatis.enhance.common.enums.KeyGeneratorTypeEnum;
import lombok.Data;
import java.io.Serializable;

/**
 * 用户与岗位关联表
 * @author ApiBoot Mybatis Enhance Codegen
 */
@Data
@Table(name = "sys_user_post")
public class SysUserPost implements java.io.Serializable {

    /**
     * 用户ID
     */
    @Id(generatorType = KeyGeneratorTypeEnum.UUID)
    @Column(name = "user_id")
    private Long userId;
    /**
     * 岗位ID
     */
    @Id(generatorType = KeyGeneratorTypeEnum.UUID)
    @Column(name = "post_id")
    private Long postId;
}

